package sevensoft.创建型模式.原型模式.浅克隆;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Citation implements Cloneable{
    private Student student;


    @Override
    public Citation clone() throws CloneNotSupportedException {
        return (Citation) super.clone();
    }

    @Override
    public String toString(){
        return student.getName() + "的奖状";
    }
}
